*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
img{
    display: block;
    width: 100%;
    height: 100%;
}
.swiper-container{
    width: 300px;
    height: 200px;
    margin: 10px auto;
    position: relative;
}

.swiper-wrapper{
    width: 100%;
    height: 100%;
    position: relative;
}
.swiper-slide{
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.opacity{
    opacity: 1;
}

.swiper-pagination{
    position: absolute;
    bottom: 20px;
    left: 0;
    height: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.swiper-pagination span{
    width: 10px;
    height: 10px;
    background: #000;
    margin: 0 5px;
    border-radius: 50%;
}

.active{
    background: red!important;
}

.swiper-button-prev , .swiper-button-next{
    width: 40px;
    height: 80px;
    background: rgba(0,0,0,.5);
    line-height: 80px;
    text-align: center;
    color: #FFF;
    top: 60px;
    position: absolute;
}

.swiper-button-prev{
    left: 0;
}
.swiper-button-next{
    right: 0;
}